import request from '@/utils/request'

// 获取上传凭证
export function getUploadToken() {
  return request({
    url: '/system/oss/getUploadToken',
    method: 'get'
  })
}

export function uploadQiniu(data) {
  return request({
    url: 'http://up-z2.qiniup.com/',
    method: 'post',
    data: data
  })
}
